package dq.study.designmodel.observer;

import java.util.Date;

/**
 * @author dongqun
 * @Description:
 * @date 2019/4/15 22:10
 */
public class Event {
    private String action;
    private Date date;
    private String location;

    public Event(String action, Date date, String location) {
        this.action = action;
        this.date = date;
        this.location = location;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
